package com.easilyj.controller.manage;

import com.easilyj.constant.RoleConstant;
import org.apache.shiro.authz.annotation.RequiresRoles;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class ManageController {

    @GetMapping("/manage")
    @RequiresRoles(RoleConstant.ROLE_ADMIN)
    public String index() {
        return "manage/manage-index";
    }
}
